<?php

/*
Entite modelisant une Reservation  
Cette entite est en lien avec le panier les clients et la carte bancaire(cf dossier de conception)
*/
class Reservation extends Entite{
	
	

	 protected $dateReservation;
	 protected $carteBancaire;
	 protected $client;
     protected $panier;
	
	

	public function __construct () {
		
		parent::__construct();
	}
	
	public function setCarteBancaire(CarteBancaire $cartebancaire)
    {
         $this->carteBancaire = $cartebancaire;
    }
	 
    public function setDateReservation($datereservation)
    {
         $this->dateReservation = $datereservation;
    }
	
	public function setClient(Client $client)
    {
          $this->client= $client;
    }
	
 
	public function getCarteBancaire()
    {
         return $this->carteBancaire;
    }
	 
    public function getDateReservation()
    {
          return $this->dateReservation;
    }
	
	public function getClient()
    {
         return $this->client;
    }
	
	
	public function setPanier(Panier $panier)
    {
          $this->panier= $panier;
    }
	
    public function getPanier()
    {
          return $this->panier;
    }
	

  
        
    
		  
   
	
	

	

}



?>